<%--
  Created by IntelliJ IDEA.
  User: 王与刘
  Date: 10/11/2021
  Time: 下午8:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>插入题目界面</title>
    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js" integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ" crossorigin="anonymous"></script>
    <!-- Bootstrap -->
    <link href="BookStrap/bootstrap-3.4.1-dist/css/bootstrap.min.css" rel="stylesheet">
    <script src="BookStrap/bootstrap-3.4.1-dist/js/bootstrap.min.js"></script>
    <link href="css/insert.css" rel="stylesheet"/>
</head>
<body>
<div class="c"><h1 align="center">学吧<small>管理端</small></h1></div>
<div class="container">
    <ul id="mytab" class="nav nav-pills nav-justified" role="tablist">
        <li role="presentation"><a href="index.jsp">首页</a></li>
        <li role="presentation"><a href="xue/api/page">管理端</a></li>
        <li role="presentation" class="active"><a href="insert.jsp">添加题目</a></li>
    </ul>
</div>

<div align="center">
    <form action="xue/api/insert" method="post">
        <div class="form-group a" style="text-align: left;">
            <label for="exampleInputQuestioName">题目名称:</label>
<%--            <input type="" class="form-control" id="exampleInputQuestioName" placeholder="Question_name">--%>
            <textarea class="form-control" rows="3" name="name" id="exampleInputQuestioName" placeholder="Question_name"></textarea>
        </div>
        <div class="form-group a" style="text-align: left;">
            <label for="exampleInputQuestioAnswer">题目答案:</label>
            <input type="text" class="form-control" name="answer" id="exampleInputQuestioAnswer" placeholder="Question_answer">
        </div>
        <div class="form-group a"  style="text-align: left;">
            <label for="exampleInputQuestionExplain">题目解释:</label>
            <input type="text" class="form-control" name="explain" id="exampleInputQuestionExplain" placeholder="Question_explain">
        </div>
        <input type="submit" class="btn btn-primary" value="提交">
        <input type="reset" class="btn btn-primary" value="重置">
    </form>
</div>
</body>
</html>
